﻿<%@ Page Title="Log In" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" Inherits="Account_Login" Codebehind="Login.aspx.cs" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Log In
    </h2>

                <asp:LoginView ID="LoginView1" runat="server">
                    <AnonymousTemplate>
                        <p>
                            Va rugam introduceti utilizatorul si parola dumneavoastra. Daca nu aveti un 
                            utilizator, va puteti
                            <asp:HyperLink ID="RegisterHyperLink" runat="server" EnableViewState="False" 
                                NavigateUrl="~/Account/Register.aspx" style="color: #0000FF">inregistra aici.</asp:HyperLink>
                        </p>
                        
                        <asp:Login ID="Login1" runat="server" 
                            FailureText="Autentificare esuata. Va rugam incercati inca o data" 
                            PasswordLabelText="Parola:" RememberMeText="Tine-ma minte 24 de ore" 
                            UserNameLabelText="Nume Utilizator:" TitleText="" 
                            DestinationPageUrl="~/Account/Login.aspx">
                        </asp:Login>
                  
         
                        <br>
                  
         
                 </br>
                    </AnonymousTemplate>
                <LoggedInTemplate>
                    Esti autentificat ca
                    <asp:LoginName ID="LoginName1" runat="server" />
                    . Doresti sa te
                    <asp:LoginStatus ID="LoginStatus1" runat="server" LogoutText="deloghezi" />
                    ?
                </LoggedInTemplate>
            </asp:LoginView>

                </asp:Content>
